package com.yun.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yun.blog.bean.Star;
import com.yun.blog.bean.dto.StarBlogDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StarMapper extends BaseMapper<Star> {


    <P extends IPage<StarBlogDto>> P getStarBlog(
            P page,
            @Param("userId") Integer userId
    );
}
